For about two hours on Monday morning, trading in shares of about 40 stocks on the New York Stock Exchange was halted after a technical glitch led to misquoted prices, including those of Berkshire Hathaway, which showed a drop of more than 99%.