WASHINGTON (Reuters) - Nasdaq OMX on Wednesday agreed to pay $10 million, the largest penalty ever levied against a stock exchange, to settle civil charges stemming from mistakes it made during Facebook's initial public offering last year, the U.S. Securities and Exchange Commission said.