fix($compile): Detect when a directive `compile` removes `tElement`

Delect when a directive `compile` function removes `tElement` and keep on with the compilation from the following node

Closes #9198
Another thing, we seem to be optimizing for a bizarre case where we actually do call `tElement.detach()` in $compile, and it's not clear that there's ever a good reason to do this