The threat of evictions stoked some of the worst violence between Israeli police and Palestinians in Jerusalem in years, culminating in an 11-day conflict with Gaza after its militant Hamas rulers fired rockets at the city in what it said was partly a response to Israeli “harassment” in Sheikh Jarrah.