A second boxer at the centre of an Olympics gender controversy is guaranteed a medal after reaching the featherweight semi-finals in Paris.