A dispute involving workers at Molson Coors' Burton-on-Trent brewery has been settled.