Then I guess it could be a pathfinding error when the troops start panicking. You may want to try to allow them to cross the bridge fully before engaging, so you can see if it makes any difference.