The Fourth of July weekend contributed to the decline in occupancy in the U.S. in July, according to STR.