hmm,
If I am confronting a wild animal (dog or cat) I put the bike between me and the carnivore. Of course, the only time I've put this into practise it was a king charles cavalier

.
If it was a human, I would probably just run them down and hope I made it out okay. I figure if someone's head impacts with yours at 30+ km/h you're going to have at least a headache if not die.
Otherwise, I haven't really thought it through. Maybe I'll figure it out over the next twenty-five years of riding. Maybe I'll use the information by the time I'm 75....
Seriously, over 25 years of cycling thousands of miles it's never come up through city, suburb, or remote country roads. If I need to defend myself I really don't have the training or inclination to act. I'm just going to hope for the best. (I figure I have over a 50-50 chance of dying of old age or something else first).
Man, I really hope I haven't jinxed myself now..