Inverse spectral theory for symmetric operators with several gaps: scalar-type Weyl functions