[compiler] Handle skipped vectorized functions.
In corner cases, we may end up with a vectorized function that is
unconditionally skipped because the trip count can be determined at
compilation time to be 0. The code that was already there to handle this
was not quite right.