On the solution of a nonlinear matrix equation arising in queueing problems