More than 170 jobs at UK baker Warburtons are under threat after the company decided to close a production plant.