Fix to expire match cache

The element of `@match_cache_keys` is deleted but the one of `@match_cache` is not.
When many (over 1024) kinds of tags are used, match cache continues to expand.