Judge allows Trump’s immigration agents to carry out enforcement in houses of worship after denying religious groups’ challenge.