Nasdaq resolves system error affecting stock orders