In two Simaese twins where the first will definitely die soon, whereas the second has a chance of life if the first stops being a 'drain' him. Like if there is only one heart. Can one kill the first so that the second one can live. The question is really if the second ones blood is considered 'redder' in this case. And if that term used in the gemoro is meant to be taken literally. That means if the second one is better for some reason the first may be killed. I am told that RMF allowed it in a 'landmark' psak and others also discuss it.
Here are some sources (they all deal with R' Moshe Feinstein's תשובה):
Rabbi Tendler's article also appears in his "Care of the Critically Ill" (1996) where he indicates that the תשובה was not published.
The rules for killing to save are very complicated and there are many opinions I will try to stick to areas of non-controversy.
The laws usually are that you can't do any act of choosing one over another because you don't know who is "worth" more souls hence if gentiles surround a city and threaten to kill everyone if someone isn't handed to them you may not pick someone to send out (this is not argued upon to my knowledge).
However an act of saving is permitted so if they say give us a list of 100 people to not kill you may give them a list.
This is the main reservation in killing to save.
And based on this if baby 1 is dying anyway (גוסס) you may kill to save.
However I'm not sure how actually killing "beyadaiim" factors in.