The judge overseeing Purdue Pharma’s bankruptcy approved a deal on Thursday under which three law firms will forfeit a combined $1 million in fees to resolve allegations that they failed to disclose connections to Sackler family members that own the company.