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)
Align the elements of a hash literal if they span more than one line.<br>Expression at 58, 51 should be on its own line.