Earmarks let state lawmakers funnel money to favored groups in their districts. But they’re subject to little oversight. Now, Republicans want to change that.