Matt Fitzpatrick beat defending champion Jordan Spieth on the third hole of a play-off to win the RBC Heritage.