I'd like to do the opposite.
How do I keep mercenaries available after the discovery of Nationalism? (Because mercenaries were and are still used even after national standing armies became commonplace, plus the mercenary mechanic could also be seen as representing the arms import/export industry).
Also, how to I restore the ability to upgrade mercenaries?