General solution of the Cauchy problem for the defocusing NLS equation in the Whitham limit