EU’s diplomatic branch to downsize foreign offices