Islamic Jihad, which has fought alongside Hamas in Gaza, called Trump's idea "deplorable.