When indenting code, limit how far back we search.

Fixes https://github.com/JuliaLang/julia/issues/9254 -- performance is
just too bad on long files otherwise.