It’s been a tough year for muni bonds with investors cashing out amid rising interest rates. But higher yields and strong credit may be sparking a shift.