Fix Issue 10626 - ICE with vector operation

Fix regression by forwarding buildArrayIdent and buildArrayLoop to the base implementation for all other derived expressions.

Add test cases to improve coverage.
Merge pull request #2345 from yebblies/issue10626

Fix Issue 10626 - ICE with vector operation