bugfix for FY5253 case with bunched yearends
Also achieves coverage for one of the uncovered branches in `FY5253.apply`

- [x] closes #14774
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
