Return a sequence containing only elements matching the given predicate.
The operation is intermediate.