BUG: GH3317 Fix frequency inference to be automatic in a DatetimeIndex if freq is not specified during _ensure_index

PERF: remove automatic downcasting, instead do on-demand via 'downcast=infer'

TST: fix up failing tests