WASHINGTON — A longtime federal prosecutor resigned Tuesday rather than carry out what she described as orders from Trump-appointed officials to take actions unsupported by evidence, according to a copy of her resignation letter obtained by NBC News.