Moody's, one of three major credit rating firms that misjudged many of the securities at the center of the financial crisis, escaped legal action when regulators said they would not sue the company for fraud despite finding evidence that the firm misled investors.