The vote could have far-reaching implications for the future of the opposition Labour Party and for Scotland's status in the U.K.