The Supreme Court had heard a case involving Oklahoma’s use of midazolam last year, and the justices upheld its use of the drug, although that case highlighted bitter divisions among the justices regarding the death penalty.