Unless this indentation is going to break existing block structure, e.g. by splitting the containing function in the middle. Additionally I improved detection of an empty statement list when the caret is at the end of file.