Optimal killing for obligate killers: the evolution of life histories and virulence of semelparous parasites