Refs #21236: test migrating with flat unique/index together