Costa Rica is the second Central American nation to accept migrants from distant countries as the Trump administration ramps up deportation flights.