The U.S. trade deficit in goods narrowed to the lowest level in nearly two years in June as imports fell sharply, cementing economists' expectations that trade likely accounted for much of an anticipated rebound in economic growth in the second quarter.