[query] NDArray Reshape Simplification (#9874)
[query] NDArray Reshape Simplification (#9874)

* Reshape of MakeNDArray should simplify to just a MakeNDArray with a different shape

* Also handle simple maps

* Change second optimization to just push down the reshape, so chains of maps can be handled
hail-is/hail,hail-is/hail,hail-is/hail,hail-is/hail,hail-is/hail,hail-is/hail,hail-is/hail,hail-is/hail