Fix LLVM memory issue and static orphan list.

We were using potentially unbounded memory since we create a bunch of
unique global data structure types associated with an LLVM context and
never getting rid of the context.