Electronic cigarette maker Juul has agreed to a multi-state settlement. The states allege the company marketed aggressively to teenagers. It’s the latest blow to a company under fire.