Add support for transactional invariants, a la Haskell's alwaysSucceeds. See the various notes/stm-invariants-*.txt files.