Pakistan stocks end high as SC grants bail to Nawaz