DatetimeIndexes with day frequency hang when they have more than 2 elements
See #3609. Copied (more or less) from there

``` python
dind = period_range('1/1/2001', '1/1/2002').to_timestamp()
s = Series(randn(dind.size), dind)
s.resample('T', kind='period')  # hangs here
```

Doesn't hang (throws an error) for the simple case of 

``` python
dind = period_range('1/1/2001', '1/2/2001').to_timestamp()
s = Series(randn(dind.size), dind)
s.resample('T', kind='period')
```

and starts to hang for `dind.size > 2`.
