When the repair is more expensive than the value of the vehicle