Learndirect, the former state-owned training provider, has won a last-ditch reprieve from its lenders as it seeks to rebuild its finances in the wake of a controversial report by the education watchdog.