
Originally Posted by
The Wikia
The teammates you do not choose are automatically assigned to hold the line against the Collectors. A 'defensive skill' value is calculated for the 'hold the line' group as a whole, based on a defensive value inherent to each character. Loyal characters gain a bonus to this value. If the 'defensive skill' check is not high enough to ensure all characters' survival, squad members will be designated to die based on their vulnerability, with Mordin taking priority if he is present.
Leaving behind strong defenders, such as Grunt, Garrus, and Zaeed will increase the group's odds of survival. In contrast, certain characters such as Jack, Tali, and especially Mordin have less skill in holding their position and should be removed through escort duty or taken along. The entire group will survive as long as the combined defensive skill is high enough, otherwise the game selects one or more squad members to die based on the scenario of who was left behind and how loyal the group members are.
Squad members who are not loyal are most likely to survive here than anywhere else, provided the group's collective defense skill is high enough, although they will be the first to die if the skill is not. Leaving behind two strong defenders such as Garrus, Grunt, or Zaeed should suffice, provided you haven't lost too many people.