President Donald Trump surprised both supporters and detractors when he seemed to endorse an immigration deal a day after the White House announced that nearly 200,000 Salvadorans who have been in the country for more than a decade must leave.