Interesting. In case you don't know, squashing builds with same parameter in the queue is already the default behavior.
In that case, I suppose this is due to the alternation of parameters that that doesn't happen.
I guess writing a plugin for that would not be very difficult.
Cheers