Get rid of MultiIndex conversion in IntervalIndex.is_unique
-  xref #24813 
-  passes `git diff upstream/master -u -- "*.py" | flake8 --diff`

Actually, this modification doesn't improve the performance. But the code is more explanatory.
