BUG/REGR: bool-like Indexes not properly coercing to object (GH8522)

closes #8522