Israel's opposition parties inched closer to forming a new government that would end the premiership of Israel's longest-serving prime minister, Benjamin Netanyahu.