Varian Medical Systems Inc. said Thursday it will pay the University of Pittsburgh $35 million to settle claims that it infringed the university's cancer-treatment device patent, the same day the Federal Circuit issued an opinion reversing in part a lower court's ruling in favor of the university.