[IR] Some cleanup and fixes to exception regions and cfg building

* Also some stub code for breaks in the JIT + hints of what might
  need to be fixed for the JIT.