BUG: Bug when renaming then set_index on a DataFrame (GH5344)

closes #5344