When Should We Repair a Friendship, and When Should We Let It End?