EU officials say political declaration with UK agreed