Ottawa used technicality to disqualify 1,000 residential-school claims