Islamic State ruling aims to settle who can have sex with female slaves