International humanitarian law may be imperfect, but it can ameliorate some of the worst horrors of armed conflict – such as the Khan Sheikhoun gas attack.