[bugfix] unboxing optimizer was not rewriting closures