Water restored after main pipe bursts