fix #3395, range[range] indexing bounds checks
Merge branch 'master' of github.com:JuliaLang/julia