I have noticed continually that eastern generals and the various rebel generals of the same type tend to not want to fight phalanxes long after their ammo has run out. The same is not true for other generals. They let themselves get caught by the phalanx. So apprently a unit with Skirmish can act as it should, maybe because the AI never takes its units off Skirmish.