CarMax drops 7% despite earnings beat as used-car margins shrink