BUG: do not crash on a callable grouper returning tuples
- [x] closes #22257
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry

Notice I didn't have time to test which commit caused the regression.