BUG: ensure index casting works even in Int64Index
Merge pull request #3322 from jreback/index_astype

BUG: ensure index casting works even in Int64Index