BUG: related to GH5080, get_indexer choking on boolean type promotion (GH8024)

closes #8024