Fix group-cast bypass glitch

Due to a bug in the targeting menu and shortcomings in the way
AIContexts interface with the battle engine, it was possible for a
group-cast technique to end up concentrated on a single battler.  This
fixes the glitch for both player-controlled and AI units.