Delete an a element from the array