Trump imposed a complete travel ban on nationals of 12 countries, while those from seven more face restrictions.