Fix Range#each for Symbol elements and some simplifications

Fixes #2149