The Security Council struggled Wednesday night over a resolution extending the term of the United Nations investigation into the assassination of the former prime minister of Lebanon , Rafik Hariri , and expanding its scope to include other recent politically motivated killings in Lebanon .