Poland’s government said on Tuesday it would join a growing list of EU countries to shun a U.N. migration pact.