Renfri wanted to kill a town of people for what Stregobor did to her. Geralt knows revenge does not lie in death. Even though he makes a mistake in killing Renfri, he realizes no good will come of killing Stregobor. Taking her brooch and remembering his mistake towards Renfri is the best thing he could do, and as we see in the show, he does remembers it well.