> default on it and hand the stranded assets back to creditors
I doubt the debt is secured by the power assets. If anything, maybe China can assume ownership of the entire powerplant if Pakistan cannot pay. They have done that many times in Africa. See: "debt-trap diplomacy". Also, it is terrible advice to tell a country to default on external debt. See: Argentina!
Argentina has defaulted nine times in its history. One or two times is not material, based on historical observations.
https://en.wikipedia.org/wiki/List_of_sovereign_debt_crises