Add tests for vector indexing.
Let size be general for TGeneralRef1.
Generalize EWiseMode{0}
Update tests.

A couple of EWiseMode switches. Also, update test_scalar_ref to use [1:end] syntax
rather than [1:].
Update test_texpr to use [1:end] syntax.