Exxon Mobil Corp., Chevron Corp., and other oil giants successfully convinced a New Jersey judge to toss the state’s climate misinformation lawsuit, according to an order issued on Wednesday.