Nasdaq negotiates with market-making firms over glitch