A federal judge in Philadelphia on Monday temporarily blocked the Trump administration’s effort to let companies opt out of a portion of the Affordable Care Act that mandates all employers provide their employees with coverage for contraception.