Trailing his main challenger days before the election, Mr. Netanyahu offered an idea ardently sought by the settler movement but seen as a blow to a two-state solution.