BUG: Fix IntervalIndex.get_loc/get_indexer for IntervalIndex of length one
- [X] closes #17284
- [X] closes #20921
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [X] whatsnew entry
