Israel 'denied residency to thousands of Palestinians'