Fix broken union inlining in StructFlattener
Correctly update flattened inner structs.