Britain to pull out of North Ireland