The Lebanese militant group fought Israel to a stalemate in 2006. Both sides tried to learn the lessons