DEPR: Remove NumericIndex from pandas/io/
Removing `NumericIndex` from pandas/io and replaces it with `Index` in preparation for removal of `NumericIndex` from tests/indexes/numeric.py.

Also fixes a typing issue.

xref #42717.
Thanks @topper-123 