Fix playing vs the agent in single-step mode by moving self._delayed_actions to finalize.
Fix playing vs the agent in single-step mode by moving self._delayed_actions to finalize.

PiperOrigin-RevId: 223960076

deepmind/pysc2