A week after taking office, Mr. Trump issued an executive order to suspend the nation’s refugee program as well as travel from seven predominantly Muslim countries to give the government time to install rigid security vetting of immigrants.