Was deleting the wrong part of the llvm JIT. Have to remove the engine, which takes the rest with it. This fixes a massive memory leak