Slovakia attacks EU post-Brexit direction on eve of taking over presidency