New fix for #1182, plus a regression spec.

Revert "Raise error if iteration ends without walking size elements."

This reverts commit c4f13b5f395a97d6768f917fdeea18f9d61818f0.
Merge branch 'jruby-1_7'