From the article: "In exchange, Australia would resettle refugees from El Salvador, Guatemala and Honduras."

They are swapping migrants between countries who were friends at that time, to reduce political problems Australia had (they don't want these people, but were being pressured to close the camps).