EA: general cleanup (#56848)
The handling of `Array` in EA was implemented before `Memory` was
introduced and has now become stale. Analysis for `Array` should be
reintroduced after the upcoming overhaul is completed. For now, I will
remove the existing stale code.