Houston-headquartered BP plans to cut 5 percent of its workforce—about 4,700 jobs—as part of a larger cost-cutting program.