New Jersey lawmakers approved a bill banning retailers from using consumers' personal data to charge some shoppers' higher prices.