Optimise out dead catches, fix ICE with goto into a catch block.
Replace VolatileStatement with SynchronizedStatement.
Some more small IRState reductions.
Fix error when using stdin as input.