Support indexed Enum.{each/2, map/2}.

Fixes #748.