A growing number of cars are being totaled, but not for the reasons you might expect after a crash. The real cost comes later