NHS worm infection was 'entirely avoidable', says review