removeUnreachableRecords
Remove all unreachable records in the cache. A record is unreachable if there exists no chain of references from the root record to it.
Return
the cache keys that were removed.
Remove all unreachable records in the store.