PIJ terror group demanded his release as part of ceasefire agreement that ended three days of fighting; court orders him held until August 21