An Ising Hamiltonian solver based on coupled stochastic phase-transition nano-oscillators