CJP dismisses contempt petition against Nawaz Sharif