The deal caps months of activist pressure on the company and values the business at about $863.2 million.