Enable `clippy::filter_map_identity` (#8741)

This PR enables the
[`clippy::filter_map_identity`](https://rust-lang.github.io/rust-clippy/master/index.html#/filter_map_identity)
rule and fixes the outstanding violations.

Release Notes:

- N/A
2bfc646f33Marshall Bowers committed on 3/3/2024, 1:48:29 AM· committed by GitHubparent3e28791
3 files changedLine totals unavailable