From these detailed pictures, it can be confirmed as a Su27UBK. Only Russian built Su27s and Su30s have been seen carrying the wingtip EW pods, and only Su27UBKs have the canted vertical tail tips.
It looks like the pilots stayed with the plane until the last possible moment and only punched out once they were sure the plane wasn't going to hit anyone on the ground, but by then it was too late. Had they been trying to save the plane, they would have not ejected.
These guys went above and beyond the call of duty and put their lives on the line to make sure innocents were not hurt by the doomed plane. I don't think anyone could have anything but praise and respect for their actions and mourn the loss of such brave and dedicated men.
The only thing I could think they might have done differently was for the rear seat pilot to punch out at a safe altitude. Only one pilot is needed to guide the plane down in a safe area, and since both pilots were very senior and experienced, either one of them could have done it on their own, so there was no point in them both putting themselves in harms way. You cannot eject the front seat without making life impossible for the rear seat pilot, so the front seat pilot had to stay, but there should have been no real impediment to the front seater if the rear seater punched out. There are many photos on the web with Tornados and even a Su27UBK flying perfectly fine with the rear seat having been ejected in flight. I guess loyalty made the rear seater stay, and it is a tragedy he paid such a steep price for it.