A federal judge on Wednesday ruled that it’s unconstitutional to require states to cooperate on immigration enforcement actions to get FEMA funding.