Tslib unused
along with one repeated string and a case in `_Timedelta.__richcmp__` that is not reachable.

- [ ] closes #17379
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
