add bounds errors for range indexing of UTF8String. fixes #5446