Kirk let Edith die because that's what history recorded, and without her death on the street that evening Hitler would have won World War II and the Federation would never have existed.
By allowing Keeler to live, he would've changed the fate of trillions of beings across hundreds of years.
