fix($compile): fix duplicate style attributes

This fix avoids duplicating style attributes in directives that specify
'replace: true' and 'template: &lt;div style="..." /&gt;'.

Closes #6239
we probably don't need this compile block