=str: #16345: fix IndexOOB, and error handling in the interpreter