Banks are regaining ground in private credit as cracks widen in the sector.