fix(ngSanitize): ensure decodeEntities clears parts[0]

Clearing the match before the conditional branch seems to (inexplicably)
break Safari 7 on OSX 10.9, except when stepping through line by line.

Moving the assignment to after the conditional branch corrects this
behaviour.