US judge orders Palestinian freed