Google will not have to face allegations by dozens of states that the tech giant's design of its search results page has harmed rivals, such as Yelp or Expedia, a federal judge ruled in an opinion unsealed Friday, just weeks before the closely watched antitrust case is set to go to trial.