Improved gate replacement technique for mitigating circuit NBTI effect