First eigenvalue of birth-death processes with killing