[CDF-25199] 🐛Unchanged workflow version redeploys (#1758)

# Description

See below

## Changelog

- [x] Patch
- [ ] Minor
- [ ] Skip

## cdf

### Fixed

- When running `cdf deploy` workflow versions with a transformation
tasks without defaults defined is no longer redeployed.

## templates

No changes.
