Fix an assertion when iterating collections

Summary: iterInit for collections assumed (and asserted) that valOut was
not KindOfRef, but nothing was enforcing that.

Reviewed By: @dariorussi

Differential Revision: D1431817