Fix bad type annotations in InfiniteIterable