Housebilder Barratt is about to secure a refinancing lifeline with lenders helping him ride out property downturn