TEL AVIV — When Israel assassinated the top Hamas military commander in Gaza on Wednesday, setting off the current round of fierce fighting, it was aiming not just at a Palestinian leader but at a supply line of rockets from Iran that have for the first time given Hamas the ability to strike as far as Tel Aviv and Jerusalem.