ref-cache: rename `remove_entry()` to `remove_entry_from_dir()`