A US federal judge has blocked new Trump administration regulations on birth control from applying across the entire country.