Lawmakers passed legislation Wednesday that would ban disposable vape cartridges, a scourge to waste haulers and facilities.