Barilla, the pasta maker, is to sell its Kamps Bakeries arm after deciding the German unit is no longer a core part of its business.