The agreement is the latest deal the Trump administration has struck to deport migrants to third-party countries.