A federal judge narrowed a major antitrust case against Alphabet’s Google ahead of a trial that is slated to begin next month, rejecting an argument made by a bipartisan group of 38 state attorneys general who sued the tech giant in 2020 over its search dominance.