Jit: Remove bounds checks with tests against length. (#40180)
* Introduce a concept of minimum array length into range check
* Some cleanup
* fix potential underflow
* bug fix and cleanup
* Revert string changes
* Allow elimination of arr[0] with len != 0 test
* Revert "Revert string changes"
This reverts commit
6f77bf8c8acce1f5382bb704875384c6f8e2f984.
* Fix up tests
* reverting lower bound merging as it may be unsound
* Fix CI exposed bug and add a couple of test cases
* code review feedback
* comment nit
* feedback
* Add missing break