IRS closes inquiry into pastor's McCain endorsement