[C++11] Use std::tie to simplify compare operators.

No functionality change.