Labour chancellor said children ‘should not suffer’ because of a £22 billion ‘black hole’ left by last Tory government