A federal appeals court on Wednesday rejected a U.S. Justice Department legal opinion that presented a threat to online gambling, including state-run lottery games, ruling that there was a "lack of coherence" in the Trump administration's broad interpretation of a federal law concerning internet wagers.