Hamiltonian Extrema of an Arbitrary Flux-Biased Josephson Circuit