Coinbase Global Inc. said the Securities and Exchange Commission has agreed to drop its lawsuit that accused the largest US cryptocurrency trading platform of running an illegal exchange.