Like many financial firms, JPMorgan periodically trims staff during the year, even as it hires thousands more workers to fill roles.