Merge "Fix CopyRegInfo to keep live/dirty flags of new registers."