Injuries to key players, including Justin Herbert and Rashawn Slater, were factors in Coach Jim Harbaugh’s second 11-win season.