A federal judge on Wednesday blocked Idaho from enforcing its near total ban on abortion where it conflicts with a federal law requiring hospitals to provide stabilizing care in a medical emergency, giving the Justice Department a victory in its first abortion challenge following the demise of two key abortion precedents.