Make deterministic signals interruptible.

This commit changes the encoding of trace events changed; see trace.h.
It should have fixed all NYI deterministic signals; some
previously-disabled tests are now enabled.

Somewhat nontrivial change, but it was much less painful than I first thought, so not too worried about review.