The U.K.'s vote for a “Brexit” from the EU began as a cry for liberty and ended as a rebuke to the establishment.