Fix register promotion logic to handle live_outs.