I have to disagree, strongly, as a retired IT engineer, and Apple certified trainer for over a decade. GPU redrawing Logic's user interface uses so little of the GPU, the two GPU's in these to models will make NO difference.
16 vs 32 GB RAM will ONLY be noticeable if you're really pushing RAM related operations really, really hard. A 50 track project MAY come close to that, but lesser projects, you will NOT notice a difference.
The two i7 CPUs in these two units, both if which I've used recently in our broadcast studio, perform very close to the same.
GPU, RAM, CPU aside, hard drive access is the single most influential bottleneck in any system. If you're on a Thunderbolt RAID 5, that will never be an issue for Logic.
I think the spec issue is being over blown based on paper numbers, which as a retired IT engineer I'm extremely aware of, versus real world perforce, which I have recent first hand knowledge of, in a broadcast station.
And again, a new iMac may be announced in Oct or Nov, so I'd wait before upgrading as the OP has specified. The differences at this point in time, for a 50 track LPX project, won't be enough to justify the extra cost. WAIT, see what happens in a month or two when the new line up of Macs is announced.