Optimally resilient codes for list-decoding from insertions and deletions (IEEE transactions on information theory)