If one of them attack you, just hit it with a torch. He will go away.

More Troodon Encountering Tips