A fraud suit against a once-celebrated Silicon Valley battery startup is abruptly dropped