Pauli String Partitioning Algorithm with the Ising Model for Simultaneous Measurement