Anderson’s two-run triple in 11th lifts Marlins past Pirates