Thousands of workers in Lynn and elsewhere approved a revised labor agreement Tuesday after rejecting an earlier version in July.