Spayed or neutered dogs live longer than intact dogs and small dogs live longer than big ones. Just why, though, isn’t clear.