Pakistani court orders release of opposition leader