So i decided i'll look into what happens if you port out because of the bug, and it's pretty ridiculous. You basically have to do a very specific setup (you have to stand at a very specific spot and have to have specific skills) and basically disable the doctor every turn, because otherwise you'll just lose, no matter what. Also have to have atleast 30 initiative on said character, because otherwise your first turn is not before his.

There might also be some other stuff you don't get for cheesing his fight.