Once a zombie has made contact with you and they hit you, they can't hit you again until you come out of contact with them and back into contact. As such you can just stand still, wait for a circle of zombies to form around you and now no zombies can get to you and the zombies in the circle can't hit you sense you aren't leaving contact.