In a second decision, the justices sided with a death row inmate who sought to be executed by firing squad rather than lethal injection.