The last member of One Nation in one Australian state has resigned in a major blow to leader, Pauline Hanson.