Update Style/NilLambda
to handle procs as well
#9776
Merged
Style/NilLambda
to handle procs as well
#9776