Ms. Habba resigned on Monday, after a federal appeals court last week found she had been serving as U.S. attorney unlawfully.