Fix crash on invalid.

if { foo; }
would previously crash clang-format.