Michael Higdon's hat-trick helped Motherwell see off a late St Johnstone comeback to win 3-2 at Fir Park on Sunday.