TEL AVIV — The resignation and subsequent detention of Israel’s chief navy lawyer, after she leaked a video exhibiting a part of an incident through which troopers allegedly sexually abused a detained Palestinian, are kindling fierce debate in Israel over the bounds of what’s authorized and socially acceptable in occasions of warfare.