Use Purge Nodes to remove all nodes that are not connected to elements.
To use this tool, click (Mesh tab > Mesh Edit panel > Purge Nodes).