Eurozone economic confidence strengthened unexpectedly in July indicating that the single-currency region shrugged off the negative impact from the “Brexit” vote, while the weakness was evident in the European Union and the U.K.