Female Olympic boxer quits fight against opponent embroiled in gender controversy