Deal will see PM step down in 18 months, but dovetails with most of his demands including annexation and judicial appointments, paves way for largest cabinet in Israel's history