In your case i assume you're not planning to extract the onion for use elsewhere - you just want to get rid of it. So perhaps extirpate (to remove or destroy totally; Do away with;