IRA distribution for medical expense, how is this credit applied?