You should feel good about yourself for two reasons. Technically you did win the fight, I know its very superficial to look at it that way but its true. You proved you could take a punch witch is good if you ever need to defend yourself again. Authorities aren't always there and sometimes you only have yourself to depend on.
On the other hand you should be proud of yourself, because despite your mood you didn't continue to lay into the dude. He even flashed a knife, which is where I personally would continue to lay into him just to make sure he would shank me while I wasn't expecting it. Calling the cops was the best thing you could've done as it protected him from you and yourself from him.
Basically you handled it like a mature adult. You should be proud of yourself.