REGR: Regression in datetimelike slice indexing with a duplicated index and non-exact end-points (GH7523)

closes #7523