State: Migrate instanceId

Add an upgrade step to migrate the depricated "instanceid" machine
field into "instanceid" in the instanceData doc.