CarMax on Tuesday reported a rise in second-quarter profit and revenue as the used-car retailer leaned on its pricing strategy to drive a rebound in sales. Shares of the company