DOC: pandas.Index.astype says it raises ValueError instead of TypeError
- [X] closes #37012 
- [X] passes pytest
- [X] passes `black pandas`
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
