Behavior and damage of the near-surface layer of parts pre-machined by the EDM process