BUG: Index.min and max doesnt handle nan and NaT properly

Closes #7261.