Removed clearing of caches by regexp matchers

since it is not supported by memcached

This issue came up while fixing https://www.openproject.org/issues/1537