Lawmaker facing scrutiny over campaign-finance funds quits