Remove TIMER from the list of active timers or idle timers. Only to be used in this file. It returns the cons cell that was removed from the timer list.