Revert "Emitting of a scratch variable to facilitate array bounds checking"

This reverts commit b43f1b8a23d8682e64391f662eb34ec19d5ea38c.