The coming legal clash between blue states and the Trump administration is already hitting courts across the US.