The government's targeted compliance framework unlawfully cancelled welfare payments for almost 1000 people.