fix off-by-1 in isqrt. closes #4884
Merge branch 'master' of github.com:JuliaLang/julia