Reining on over eager optimizations (take 2)

This time I allow elimination of dead, non-static loads
of closure classes.

Review by @lrytz @dragos @gkossakowski