NHS forced to pay compensation to 1,200 staff worried they have been infected after needle prick