A sales slump at the national used car dealership CarMax Inc. is costing president and chief executive officer Bill Nash his job, the Goochland County-based company said.