The judge found that the Trump administration policy could violate religious freedom, and should be blocked while a lawsuit challenging it plays out.