Regulator Ofgem says about 10% of the latest energy price cap rise covered the cost of firms going bust.