Spanish food group Nutrexpa is to buy the biscuit business of local rival Panrico.