The destructive fireworms are beared at the head. They also have a more flattened body cross-section than beneficial fireworms. Another distinctive characteristic of the destructive fireworms are overly large, red gill tufts around the calcareous bristle bundles.
Sorry if I used the wrong terminology. I wouldn't even think about removing any fireworms from your tank unless you start to see nibble marks on your corals. In that case, a nightly inspection with a red-lensed flashlight should be done to identify the culprit before doing more damage than good by accidently removing beneficial fauna.