I think that every shield wall using unit in the time frame had no moral objections about marching forward in shield wall; but for the sake of the AI, maybe instead of ordering them to attack in shield wall, order them to walk to a point behind the enemy?