Converts IndexErrors to NotImplementedErrors.

AFAICT, IndexErrors should be raised for out of bounds indexing and the
like; NotImplementedError is more appropriate here.