State governments are preparing to sue over Trump’s immigration ban