Labor Senator Sam Dastyari has been told to resign his frontbench position. Picture: AAP