Unbinding of mutually avoiding random walks and two-dimensional quantum gravity