State Supreme Court ruling clears way for movie theater shooter trial