The deal is all but done, with only procedural steps left for lenders to sign the loan documents, which should happen shortly, according to people familiar with the matter.