Scotland Yard has "decided not to pursue" its legal bid to force the Guardian to reveal the sources it used for stories about phone hacking.