J. M. Smucker Co. has agreed to sell its Canadian grain-based foodservice and industrial businesses to the owners of Horizon Milling LLC