Delete element from array