US judge tosses out lawsuits against Libyan commander accused of war crimes