Coach Jim Harbaugh calls keeping Brooks the 49ers' smartest move