This probably occurred due to a poorly adjusted headset (either too tight or too loose).
If the bearings are in a retaining ring, you can replace them with loose balls. You will be able to fit more loose balls than are in the retaining ring so this will lessen the indexed steering effect since not all balls will be in the existing dimples.
You could also try to rotate very slightly the crown race on your fork to offset those dimples from the ones on the cone race in the top of the headtube. But this would require some special tools to pop off the crown race and re-seat it on the fork. I have never tried this so I don't know how effective it is.
Mild indexed steering isn't a big deal. My old MTB developed indexed steering and I rode it that way for at least 10 years before replacing the headset.