Nakken, 34, had been part of San Francisco's coaching staff since 2020