fix($compile): correctly handle interpolated style in replace templates

A directive with a template with `replace: true` and an interpolated style at the root element should work correctly.

Closes #4882.