Rainberry, a company affiliated with the Tron network, will pay a $10 million fine. Charges against Sun will be dismissed.