An explosion in a residential building thought to be storing weapons and ammunition in Syria’s rebel-held Idlib killed at least 39 people including 12 children on Sunday, a war monitor said.