The agreement will see KLDiscovery convert some debt into “pro forma outstanding common equity” and extend the deadlines for future repayments.