Michael Smith and Gary Anderson played out a nervy last-leg decider in their first round game at the World Grand Prix.