fix bash closing

allows semicolon after fi/done/esac, as in:
```
if foo; then
  bar
fi; baz
```