President Donald Trump excoriated European leaders about their efforts to slow irregular migration, claiming they have done little to prevent an influx of outsiders that has transformed the continent.