The promise of a tablet, laptop or other device for every pupil in Scotland has been hit by a £10 million cut this year