Don't remove last child of root node in haml 4.1+
Don't remove last child of root node in haml 4.1+

Version 4.1.0.beta.1 of the `haml` gem no longer creates the special
"EOD" (end of document) nodes when parsing the tree.

Thus we need to only trim this node for versions 4.0.5 and earlier.

Change-Id: I46c4e6887e04157936a29866113db3412de43efd
Reviewed-on: http://gerrit.causes.com/44718
Tested-by: jenkins <d95b56ce41a2e1ac4cecdd398defd7414407cc08@brigade.com>
Reviewed-by: Shane da Silva <67fb7bfe39f841b16a1f86d3928acc568d12c716@brigade.com>

skateman/haml-lint,mzp/haml-lint