Remove everything except defs from SVG