fix #3383
The problem was the scheme for numbering LambdaStaticDatas to avoid
recompiling the same closure on remote machines. Only the remote side
kept state, so if a LambdaStaticData was GC'd on the local side we
could start reusing IDs incorrectly.