Judiciary helped govt complete its term: CJP