Typescript Remove Element From Array By Index