The Department of Homeland Security is removing its acting chief of intelligence and analysis amid criticism of his office’s role in responding to civil unrest in Portland, Ore.