Expelled pupil planning school massacre was watched by police