TEIID-2481 initial planning improvement to allow nested commands with a
with clause to be merged into their parent plans