fix(uiSref): cancel transition if preventDefault() has been called

When using `ui-sref` directive, you can't cancel state transition by calling `preventDefault()` in a click handler.

Note that this solution does not solve the problem completely (`e.defaultPrevented` will be always true when transition is delayed).