Alina Habba, a former lawyer to President Donald Trump whom he later installed as the top federal prosecutor in New Jersey, said on Monday that she was stepping down from the role after a federal appeals court found her appointment was unlawful and disqualified her from supervising cases.