LoopVectorize: Clean up ValueMap a bit and avoid double lookups.

No intended functionality change.