Fixed bug where resetting machine did not reset instruction register