When an AI faction must gather troops, it chooses defeated troops in the discard first, then troops from its undeployed pool, then troops from the map regions in order from lowest to highest.