Palestinians, Army try to contain fallout of clashes