1) Have a tank climb the wall behind you, scale across it, jump down, then pull one of the oozes away :)
2) Or, beg your DM, since you were all about to die, if you could attempt to bull rush through an ooze since, you know, they're all jelloish.
3) Have a strong character toss the gnome (and...