Canadian PM Justin Trudeau complained that Mr Trump's actions "split us apart instead of bringing us together".