Eliminate closures compiled under -Ydelambdafy:method.

Note that the method that contains the actual body is not
inlined. This could be improved, although in the current
state the VM is probably able to inline that one.