Walgreens agrees to $35M drug-switching settlement