The company, which is behind leading brands including KitKat, Smarties and Quality Street, has changed the recipe of 79 products to remove suspect chemicals.