The tax break offered to municipal bond investors is coming under threat as Republicans are closer to taking control of both the White House and Congress.