[Petra/Ai] Fix not researching free and instant technologies
When Petra encounters free technology or technology with no researchtime, she will not start it and blocks the queue.
Also fixing seleucids.
Differential revision: D3388
Reviewed by: @wraitii
Comments by: @Freagarach, @Stan