Hims & Hers stock tumbled after the company confirmed it would stop selling some compounded weight-loss drugs.