HP will slash as much as 16% of its workforce as part of a broad restructuring meant to cut costs and boost sales growth amid the company’s first change in top leadership in four years.