Fix AI piluep when retrying battles

Old AI contexts were being left hooked into the battle engine after the
fight was over, causing strange things to happen when events were
triggered.  Also resumed work on the Headless Horse and added Elysia as
a playable party member.