On the solvability of an indefinite nonlinear Kirchhoff equation via associated eigenvalue problems