Canadian food group Maple Leaf Foods is to offload a potato processing plant to local frozen potato firm Cavendish Farms.