Overcoming limitations in dual photoredox/nickel-catalysed C–N cross-couplings due to catalyst deactivation