My interpretation was that Shar had nothing to do with it, it was Mother Superior making a power play. If you have Shadowheart kill the Nightsong, Shar empowers her to “cleanse” the church of the unfaithful (meaning Mother Superior and her acolytes).