refactor handling of AST_CONTROL_CONNECTED_LINE
remove unused code
reformat line