Switch to Array#union and rename preserved_registers