PERF: fix slow s.loc[[0]]

Fixes GH9126