US releases stateless Palestinian after 5 months in detention