The United States is paying for flights taking US-bound migrants back to South America.