perhaps they were not proposing to fully repay the debt.
but surely it is better to repay debt rather than hand it back to shareholders.
but if the covenant is breached, then there may be no option but to fully repay the debt, so a capital return may not be possible, or substantially reduced from what is expected.