BUG: fix failing DataFrame.loc when indexing with an IntervalIndex
- [x] closes #19977
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
