The board of Spain-based olive oil group Deoleo has agreed to sell the company to UK private-equity firm CVC Capital Partners.