Tulip Siddiq has resigned from her role as a Treasury minister after controversy over links to her aunt's ousted political movement in Bangladesh.