Beyond Data Filtering: Knowledge Localization for Capability Removal in LLMs