Swiss dairy company Emmi has said it is selling its interest in a cheese business in Spain for an undisclosed sum.