BE: Add change type support for work item epics
Changing type is currently [not allowed](https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/app/models/ee/work_item.rb#L120) for a work item of type Epic because a legacy epic record is associated with it.
To permit a change of type we need to handle the synced epic and its data first so we'll use this issue will be used for planning and tracking of this work.
issue