Judge Castel approved a $12.7 billion settlement, ending the CFTC's 20-month lawsuit against FTX and Alameda.