Online used-car retailer Vroom has agreed to buy Vast Holdings Inc., which includes CarStory, for $120 million.