TA2LinearPolEPICS: Fix wrong usage of delete on arrays