Supreme Court rejects appeal to close Montana primaries