Terriers come from behind to win first NEC game of the season