Freshfields, Linklaters win settlement for lenders