US food company JM Smucker has said it will close a facility in California as part of a strategy to refine its portfolio and improve its cost base.