Optimize filter in std instances

List, IndexedSeq, and Stream
Merge pull request #717 from ceedubs/optimize-filter

Optimize filter in std instances