CHARLESTON, W.Va. — A federal judge on Monday ruled in favor of three major U.S. drug distributors in a landmark lawsuit that accused them of causing a health crisis by distributing 81 million pills over eight years in one West Virginia county ravaged by opioid addiction.