Chimps that kill for territory gain reproductive advantages