Make 'index out of bounds' a compile-time error

That has nothing to do with the proposal. This optimization already happens.

If this error were a lint instead literally nothing else would change.