rP19655 prevented the ai defensive units to drift towards enemy territories when chasing units, but it has a side effect when the enemy succeed to capture an ai cc, as all defensive units find themselves in enemy territory and retreat.
This patch transforms then the defensive units in an attacking army who tries to get back the cc.