Judiciary trying to rewrite constitutional, political history of country: CJP