Pakistan restores eight judges