The Lebanese militant group Hezbollah confirmed that Israel killed a top commander after a rare strike in Beirut.