The deal, which was agreed to after days of intense negotiations, has to still be formally approved by the bloc and ratified by the European and UK Parliaments