Labour dropped plan to ban foreign donors after Lord Alli intervened