Vanguard agreed to settle a proposed class action by investors who accused the company of violating its fiduciary duties when it triggered a sell-off of assets that left them with massive tax bills, according to a Pennsylvania federal court order Monday.