BUGfix: reset_index can reset index name (#17067)
- [ ] closes #17067
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry

I added name parameter value to preserve index name before `reset_index`.
