The military objectives are important, but risks to civilians and to Israel’s international standing will be hard to escape.