elang/optimizer: Make |Validator| to work with |ElementNode| and |LengthNode| correctlly.
elang/optimizer: Make |Validator| to work with |ElementNode| and |LengthNode| correctlly.

eval1749/elang,eval1749/elang,eval1749/elang,eval1749/elang,eval1749/elang