Amnesty act to apply to more than 10,000 people under probation measures