vector logical selection optimization for equality