Halligan has ‘no legal basis’ to continue ‘charade’ after found to be unlawfully serving as top prosecutor, judge said