US cereal group Post Holdings has confirmed plans to close its plant in Modesto in California having concluded talks with unions.