Fix syntax error in reset_simulator AppleScript

Adds a missing "then" at the end of an if statement.  You'd think
this would cause a consistent error whenever we tried to use the
script, but AppleScript tries to be "forgiving."