ted didn't need to stay alive longer though!!!
a minion's job is to 1) cause confusion and chaos; 2) draw attention away from the wolves; and 3) implicate villagers. bonus points if the wolves figure out who they are before the village catches on.
he did all of the above, and his death caused more confusion than staying alive would have. tbh i feel like if a minion isn't lynched by the village at some point they were playing it too safe.