Hiring freeze and attrition is about the only tool short of them leaving for other jobs elsewhere.
Reassignment works, particularly when it means a downgrade in pay.