U.S. judge says opioid settlement roadblocks may prompt trials