World Boxing apologises for naming Olympic champion Imane Khelif in the governing body's announcement of mandatory sex testing.