Trump’s immigration hawks grapple with new court blow