US President Donald Trump has signed an executive order indefinitely banning admission of people fleeing Syria, temporarily freezing the entry of other refugees and prohibiting entry by people from seven Muslim-majority nations for 90 days.