The SEC alleged failures related to Betterment's tax-loss harvesting service lost money for about 25,000 clients.