Recover from invalid lambdas uses as arguments. Fixes #9949