A New York court denied the government’s request to halt the $1 billion deal, saying delay would harm customers.