The UK’s biggest utility company agrees a lifeline to help it last until next October.