Labour agrees to adopt the full international definition of anti-Semitism, after months of rows.