Fixed EZP-21037: content staging error synchronizing a subtree

The node assignment copies were given a new remote ID AFTER publishing.
This caused staging to create the sync event with out-of-sync data.

The patch ensures that each copied node assignment get a new remote ID upfront.