Trump warns of military action over migrant 'onslaught'