SAN FRANCISCO — Hewlett-Packard announced a major boardroom shake-up on Thursday in the aftermath of the forced resignation of Mark V. Hurd as its chief executive.