fix($compile): fix ng-attr vs normal attribute ordering

This ensures ng-attr always overrides normal attributes of the same name.

Fixes: #7051
this second test doesn't fail, and is probably redundant