Municipal-bond yields at the highest in more than a decade are spurring optimism on the part of investment managers, who have been dealing with persistent fund outflows this year as the market has struggled along with the rest of fixed income.