Revert "Handle NaN more gracefully."

This reverts commit ae016ffae99986e5f6c227dba1b020f9bab03458.

The performance impact is relatively minor but real. I think a better
way to go will be to have another instance of Order[Double] which
provides a total ordering including NaN.