A glitchy diabetes app drained insulin pump batteries and led to more than 200 injuries