It’s unconstitutional to require states to cooperate on enforcement actions in order to get FEMA funding, the judge ruled.