class library: jitlib: fix bug in recursive embedding of cleanups. This fixes #107.