Major energy supplier to pay bills for tens of thousands of struggling customers