Move code to deactivate mutation inside deactivate_mutation().