The layoffs represent up to 3% of the company’s workforce, excluding financial advisers.