Mars UK has reversed its decision to use animal extract in the production of a range of confectionery products after a flood of complaints from campaigners.