Court rules Idaho has to provide gender confirmation surgery to inmate