fix negative string indexing (#22700)
Summary:
strings allow negative indexing in python
Pull Request resolved: https://github.com/pytorch/pytorch/pull/22700
Differential Revision: D18382382
Pulled By: eellison
fbshipit-source-id: 05c3fa0890be6234ee1467da0e65697f51236523