Try making it 2000 and see if it works. Yeah I know that seems silly.. but there is an aistrategy that has a value of 1000 already for when the AI's military threat is critical. In fact I think this is the root of all their stupidity. Basically what happens is the AI determines that it can be roflstomped and focuses all it's cities on production, ignoring tech, gold, and culture, which of course causes a perpetual spiral of worse and worse military, constantly placing them in the critical threat zone. Unfortunately this is tied to another command somewhere that I've yet to find (it doesn't appear in military strategy from what I can tell) that forces all their cities to produce units.
So we have a bunch of high production, low food, low gold, low science cities pumping out seriously outdated units and ignoring expansion and pretty much everything else. Of course there is another hard code that you can't see called 'enough_expansion' .. so maybe the computer already reached it's limit? In any case you can't tell the computer when it has reached it's expansion limit as there doesn't seem to be a value for it.. unless I'm missing something.
Edit: On second thought.. maybe those leader flavors can't accept a value that high. What if you set them all to 8? Does ghandi expand?