BUG: reshape fix for maybe_infer_to_datetimelike()
 - [x] closes #16362
 - [x] tests added / passed
 - [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
 - [ ] whatsnew entry