This change only emits the unwrap_errunion_err instruction if the error capture is actually used in a branch.