Bitcoin mining company Marathon Digital Holdings reached a $24 million settlement with its former CEO and chairman.