To clean up, remove impurities. An expurgated edition of a book has had offensive words or descriptions changed or removed.