Crews scramble to restore power in N.S.; nearly 24,000 people still in dark