First-order transition switch-off of superconductivity in UGe2