J.P. Morgan Securities LLC on Thursday agreed to pay a $200 million civil penalty to resolve charges from the U.S. Commodity Futures Trading Commission accusing the investment management company of more than a decade of trade surveillance failures, including failing to capture billions of orders on one venue.