Costa Rica said that it would accept 25 “third party” migrants deported from the United States per week.