Okay, so. I managed to sorta stumble into the scenario described above, unmodded. I was in the mission where you have to escort Thorne, the rogue politician, to the Skyranger. One of my soldiers got critically wounded early on. If you stabilize the squad member and Thorne makes it to the Skyranger, and you kill all the rest of the aliens, the soldier can be recovered. If Thorne dies, and you stabilize the soldier, you're given the chance to reach the extraction point (the mission doesn't end with Thorne's death.) The squad member, even though stabilized, is left behind. If Thorne dies, and you stabilize the soldier, but clear the map, the soldier survives. If Thorne survives, and you stabilize the soldier, but abort the mission without killing the rest of the aliens, the soldier is left behind. I wasn't able to test without stabilizing the soldier, because I didn't have enough turns to finish the mission. But going off these results, my assumption is that the results will be the same. The most interesting is the third result, which proves that, while the original code checks if the mission is a failure AND if the soldier is critically wounded, that the soldier dies. Yet the mission was a failure, and the soldier survived. Stabilizing him may be the difference here. I saved the mission so maybe I'll go back and see if I can get another soldier critically wounded near the end and test to see if not stabilizing him makes a difference.