Ashtar Ausaf Ali appointed as new attorney general