Fewer jobs are to be lost at a Kellogg breakfast cereal plant in the UK after talks with union officials.