The United Kingdom, which is buckling under a deepening shortage of nurses and teachers after exiting the European Union.