A mix-up with two women’s tests led one to undergo unnecessary surgery while the other was not treated for cancer for months.