Brexit, devolution and settlement