How can the Indian government ensure Pakistan does not divert loans for non-intended purposes

Discuss the role of the IMF in preventing loan diversion by Pakistan for defense expenses and third-country debts.