Clear the LV cache when merging the availability attribute.

The availability implies default visibility, so it can change the computed
visibility.