I had a similar experience. Here is what I ended up doing. You cannot do a blanket search and replace of the domain. (Migrating from Subdomain to Domain - #5 by Nora)
Here is a link to the comment by @omega on Bricks using the serialized array format. Help! Migration is removing bricks layout - #9 by omega