Independent News & Media is close to a debt-for-equity deal that would end uncertainty over its finances after months of talks with lenders.