BUG: various Categorical fixes (GH8623)

BUG: bug in selecting from a Categorical with iloc (GH8623)
BUG: bug in groupby-transform with a Categorical (GH8623)
BUG: bug in duplicated/drop_duplicates with a Categorical (GH8623)

closes #8623