WASHINGTON (Reuters) - A U.S. spy program that sweeps up vast amounts of electronic communications survived a legislative challenge in the House of Representatives on Wednesday, the first attempt to curb the data gathering since former NSA contractor Edward Snowden revealed details of its scope.