BUG: ValueError raised by cummin/cummax when datetime64 Series contains NaT.

closes #8965


this looks like an extra line here?