closes PR 15087
- try to avoid special-casing blank lines as much - when there are close curley braces all alone on a line, count the line as outside for the purposes of identing