BUG: Bug in MultiIndex.has_duplicates when having many levels causes an indexer overflow (GH9075)