Premier Foods is to close a facility in Wales as part of a reorganisation of its milling business.