Minor optimizations on PreparedIterable.repeat(..).

Returns this and empty Elements when appropriate.