Samsung workers accept wage deal that averts chip plant strike