McKesson Corp. and AmerisourceBergen Drug Corp. are among the drug distributors that won a bid to toss antitrust claims that they colluded to inflate prices of several generic pharmaceutical products.