STOCKHOLM — Swedish prosecutors said on Friday they would drop a preliminary investigation into an allegation of rape against WikiLeaks founder Julian Assange on Friday, bringing to an end a 7-year legal stand-off.