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

Removes the following:
- `string_types`
- `text_types`
- `binary_types`
- `string_and_binary_types`
- `strlen`
   - only used once and in PY3 is equivalent to `len`, so just directly called `len`
- `east_asian_len`
  - only called by `EastAsianTextAdjustment.len` in  `pandas/io/formats/format.py`
  - directly implemented as `EastAsianTextAdjustment.len` instead