when type is changed the status is updated also Meets #14592 and #7515

[``* `#7515` Copy/Move does not update available statuses``](https://www.openproject.org/work_packages/7515)
[``* `#14592` Status displayed in bulk edit do not respect workflow``](https://www.openproject.org/work_packages/14592)
Line is too long. [114/99]