Fixed a few bugs

Fixed bug in TinySimulator that would cause it to crash if you started
recording from before you started executing.
Fixed bug in StaticAllocationResolutionStage which caused it not to be
able to handle newarr instructions.