[C++11] Simplify compare operators with std::tie.

No functionality change.