SAN FRANCISCO — Theranos Inc. seems to be slowly digging out from the pile of litigation that threatened to bury the company last year in the wake of damning reports about its technology.

On Tuesday, a federal judge in Arizona swept away most of the dozen-plus class action claims against the once-vaunted blood testing startup and former pharmacy partner Walgreens, brought on behalf of patients in that state and California who took Theranos tests.