IRS officer resigns from post