Clinton, Familiar With Pitfalls of Mideast Politics, May Face Early Test in Gaza