The AI calculates the greatest loss in HP (other factors are probably included) when deciding what and where to target a spell. Thus soul slay mainly hits big units and AoE spells targets a HP-dense location with low protection density (unless the spell is AN).