Skottland planerar att benåda tusentals häxor