Fix typo
Surprisingly == on Nat in the Idris prelude is linear! So shortcut that by converting to an Integer first. Also a couple of small things in the evaluator that have a small but noticeable effect when environments are big.
Mostly copied from Blodwen and brought up to date (more or less).