Anti-corruption minister Tulip Siddiq has resigned after controversy over links to her aunt's ousted political movement in Bangladesh.