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
this is probably not what we want to do --- couldn't we just set it to `undefined` or something?