The president is confronting a growing furor over a decision to restrict entry to seven countries.