DURHAM N.C. — Electronic cigarette giant Juul Labs Inc. will pay $40 million to North Carolina and take more action to prevent underage use and sales, according to a landmark legal settlement announced Monday after years of accusations that the company had fueled an explosion in teen vaping.A state judge accepted the first-of-its-kind agreement with a state. North Carolina Attorney General Josh Stein had sued Juul, accusing it of employing unfair and deceptive practices that targeted young people to use its vaping …