Credit: AP/Andres Kudacki Nancy Pelosi’s exit opens way for tough fight to replace her in San Francisco district