I'm Vietnamese so I'm obviously biased, but what option did they have? If they left immediately, Khmer Rouge would be back in no time and the cycle would begin again. I don't think the politburo enjoyed occupying Cambodia, as Vietnam was severely punished by the international community for the occupation. It probably pushed back Vietnam's development 10-20 years.