Add some extra error checking during irgen
Add some more patchpoint-related llvm patches
Add the ability to represent bools as non-i1

Turned off for now; will need this for a later patch.