Many of the former real-estate mogul’s first actions as 45th President were poorly received, including his controversial executive orders on immigration that temporarily barred visitors from seven Muslim-majority countries from entering the US, which was subsequently overturned by the courts.