Make Take and Skip iterators DoubleEnded when constructed from ExactSize

Fixes #12784