The American Bar Association has withdrawn two of its statements on the conflict in Israel and Gaza, after public criticism from hundreds of lawyers.