fix($compile): render nested transclusion at the root of a template

Closes #8914
Closes #8925
Try changing the template to `<a href="#"><inner ng-transclude>xxx</inner></a>` and the test will fail - suddenly `xxx` gets transcluded, instead of `'transcluded content'`.