No. 3 Justice Department official stepping down amid turmoil