BUG: Fix inconsistency with DateOffset near DST
- [x] closes #61862
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ] ~Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.~
- [x] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

This fix ensures that `pd.offsets.DateOffset(1)` and `pd.offsets.DateOffset(days=1)` return the same value near a DST transition. 
can you add a whatsnew note pre-commit.ci autofix