BUG: GH19458 fixes precision issue in TimeDelta.total_seconds()
- [X] closes #19458 
- [X] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [X] whatsnew entry
