Optimize filter in std instances

List, IndexedSeq, and Stream