The Israeli and Lebanese governments have agreed to implement a ceasefire, after weeks of deadly fighting between Israel and Hezbollah had imperiled broader negotiations between the U.S. and Iran to end their conflict.