Israeli politicians are debating a bill to introduce a controversial law legalising about 4,000 settler homes on privately owned Palestinian land.The attorney general has called the measure "unconstitutional" and provoked widespread anger.