Function restoreBlockInstances

Restores the blockInstances array from imported data, ensuring each item conforms to the DucBlockInstance type.