Workers at Cavaghan & Gray, a subsidiary of UK firm 2 Sisters Food Group, have agreed a compromise over pay and working conditions.