Some more AI fixes

This should theoretically allow the AI to
use orbital factories for more than just 2 units.