Simplify zombie-killing code