[libc++] Granularize <type_traits> includes in <compare>

Reviewed By: Mordante, #libc

Spies: libcxx-commits

Differential Revision: https://reviews.llvm.org/D140480

GitOrigin-RevId: e0a66116fcccd59d12485810f5311efafa134ea5
73 files changed