Costa Rica’s president-elect hails agreement to accept US-sent migrants