Chancellor on brink of second bailout for banks