To me, the more interesting moral aspect of this is that a surgeon who hadn’t done this before accepted the case because it would be interesting and challenging. I’m only paraphrasing a little; that was basically his description of it in the article.
I had a surgery in my hips which the doctor said the same, he wanted to do the surgery to improve his research and even asked me to use my files, anonymously obviously, in his presentations and research.
I think we all are interested in our work, and he said that every case is different, I'm not sure if experience would help much.
I do wonder how much effort it took in total to prepare this procedure. CT, MRT, research, rapid prototyping of bones and other structures for analysis and practice runs... it seems they used all the tools they could.
A real trolley problem would involve three conjoined twins, of which one has a good chance to outlive his siblings, yet an intervention exists that can save both of them by depriving him of critical organs.