The law may be a blunt instrument, but used wisely, it can make a difference in the current Israel-Hamas crisis