TEL AVIV—From the beginning of Israel’s war against Hamas in Gaza, officials have said the military wouldn’t occupy the Gaza Strip. Eighteen months later, the government has approved plans to do exactly that.On Monday, Israel’s government approved a new war plan that includes seizing and holding territory in Gaza, a move that could expose Israel to additional legal requirements toward the civilian population and risk ensnaring the military in a long-term quagmire.