Thank you both for pursuing this and providing me with such a helpful bug report.
I've had this kind of problem in the past with various versions of Maxima. I expect these brackets are being expanded out which is of course a disaster. This causes the code to hang. What has caught me out here is a difference between this version on Linux and the Maxima 5_35_1 on Windows which does not display this problem!
I've compiled Maxima 5_35 on linux with CLISP this evening and reproduced the bug. (I've also committed some code to auto-generate the CLISP Maxima image, which I've been meaning to do for a while).
It is too late this evening for me to make further progress, but I'll look into this.