AG backs Supreme Court case seeking to open party primaries to all members