blackberry completes workforce restructuring