A scandal-ridden tech startup is slashing its valuation in half to start over