(2) "When returning to China, citizens are given a choice to take whichever passport they choose." - Unfortunately they were not. You could register as a BN(O), a British National (Overseas) which conveyed no right of abode anywhere on Earth - not in the UK, not in the EU - but when combined with an HKID offered you one complete 'passport.' Valid for permanent residency in Hong Kong plus consular protection of the British when traveling abroad that the PRC has chosen not to respect. Or you could be a Hong Kong (SAR) Citizen if the PRC would take you, which roughly required you to be ethnically Chinese. BN(O) registration has been closed for years I believe.
I think Macau followed a similar model, with SAR passports, but I'm not 100% sure.
(3) "To fix a colonial problem, you need to have the power to confront them, British left Hong Kong, and Portuguese left Macau not because those details, because they couldn't hold on to it." - Do you think the French could defend St Pierre and Miequelon? From America? I agree that Portugal could not defend Macau and the UK could not defend Hong Kong but that’s not really all there is to it - see Taiwan.
As in Sri Lanka or Bangladesh, British still owns properties legally from colonial age, and they are able to extract wealth legally. They have papers, documents and everything. Does legal papers make it right?