The U.S. Supreme Court ruled in favor of a Texas death row prisoner