Pacman: more bugfixes.

If the game ends, the agent should now see an observation for a reset world, rather than the last unplayable state.