The former chair of the Labour Party said she has resigned as international development minister