Treasury defends mini-budget and says govt 'had to act fast' ahead of energy price rise