Nasdaq said it resolved an issue with its matching engine that disrupted pre-market trading for over two hours Monday.