SCOTUS rules in favor of death row inmate