Attempt to simplify the logic and generated code for vector comparisons.
Basic comparison operators are working, but there are many indexing test
failures still to be worked through.
check-in: dfc028cf user: drh tags: vector-compare