The SEC has agreed in principle to dismiss its lawsuit against Coinbase, marking a major legal win for the exchange and a turning point for US crypto regulation.