I have a saved game where when I move my army out of a city, the city militia and archers come out as well:
https://www.dropbox.com/s/vgk74c1o7dvqa3f/new.EleSav
Go to city called Saffara, ctrl-select all the units in the city and move them out of the city. You end up with City archers and city militia coming out of the city instead.
(this is a repost as I did not post in support originally)