El Salvador, the Central American country, has agreed to accept deportees of any nationality from the United States under a historic migration deal.