Deal properly with haml Ruby expressions with only side effects

Don't add superfluous <% end %> tags

e.g.

- puts "hello world"
%p hello