[Gameplay] Let the mauryan worker elephant build again
and also patch the AI by partly reverting https://code.wildfiregames.com/rP24027
based on a patch by @Langbart
Fixes #6309
accepted by : @Freagarach
conceptual agreement from @chrstgtr @borg- @Stan
Differential revision: https://code.wildfiregames.com/D4249