CLN: Remove collections.abc classes from pandas.compat
- [X] xref #25725
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`

Removes the following from `pandas.compat` in favor of direct imports from `collections.abc`:
  - `Hashable`
  - `Iterable`
  - `Iterator`
  - `Mapping`
  - `MutableMapping`
  - `Sequence`
  - `Sized`
  - `Set`