SC restores membership of PML-N legislator