improve setStateHelper performance, https://github.com/phetsims/phet-io/issues/1677
improve setStateHelper performance, https://github.com/phetsims/phet-io/issues/1677

phetsims/tandem,phetsims/tandem,phetsims/tandem