Return mode even if single value (#15714)
- [X] Please accept this PR which closes #15714 
- [X] Tests added — `test_mode_single`
- [X] Passes ``git diff upstream/master | flake8 --diff`` (however: it complains about some non-changed rows in hashtable_func_helper.pxi.in)