fix optional arguments in rhs

define optional arguments as argument variables in the rhs default
expressions, as same as mere assignment expressions.

Import ruby/ruby@01740f0c273c89f7bcff3d5014d73c8ff6fb1986
Merge pull request #2097 from nobu/optional_arguments_in_rhs

fix optional arguments in rhs