fix broken regex for indent close

The following code was reported despite being clean:

```
{
  a: 1
}.each do |k, v|
  puts k, v
end
```

This patch fixes the multi-line code path and removes the unneeded line
transition logic from IndentationManager.