The chancellor of the exchequer has scrapped almost all of the economic measures in the "mini" Budget less than a month after they were introduced by his predecessor.