Members of the pro-democracy bloc in the territory’s legislature had earlier threatened to step down en masse if any of their group were ousted.