CLN: move rename functionality out of internals
See comment https://github.com/pandas-dev/pandas/pull/13766#r71974566. Currently the `rename` logic lives in `internals`, cleaner would be to do this on the actual index