PM Shehbaz secures vote of confidence amid tension with judiciary over polls