New legislation deals a fresh blow to hopes of a two-state solution to the conflict with the Palestinians.