'More than half a million ballot papers were spoiled,' says IEC