vkd3d-shader/ir: Handle SSA registers when flattening hull shader phases.
Currently when a phase is duplicated more than once SSA registers are not refreshed, therefore they are invalidly assigned more than once.
Currently when a phase is duplicated more than once SSA registers are not refreshed, therefore they are invalidly assigned more than once.