The carmaker agreed on Tuesday to pay up to $14.7 billion to settle claims in the United States, but the final financial toll will be far higher.