Rainberry Inc., the company behind BitTorrent, agreed to pay a $10 million settlement that ends a long-running case with the US Securities and Exchange Commission. The agreement lets the regulator dismiss its remaining civil claims against Justin Sun and affiliated foundations with prejudice, meaning the SEC cannot refile those specific charges. Sun acquired BitTorrent and…