Fixed crash due to not cleaning up LLVM TBs after an exception.

Reported-by: Matt Renzelmann <mattp321@renzelmann.com>
Signed-off-by: Vitaly Chipounov <vitaly.chipounov@epfl.ch>