Trump’s immigration order: a legal headache