Core: Remove DocSetCache.

This class was unused.

Close #7582