The union did not disclose what portion of its membership voted for and against the deal, but said members voted “overwhelmingly” in favor.