give more useful answer when indexing a range with an empty range. fixes #4309
Merge branch 'master' of github.com:JuliaLang/julia