(E)
In the case of a veteran who discontinues pursuit of a course or courses as described in subparagraph (B) of this paragraph, the formula for ascertaining the amount of the monthly payment to which the veteran is entitled in paragraph (2) of this subsection shall be implemented as if—
(i)
the payment made to the fund by the Secretary of Defense under subparagraph (D) of this paragraph, and
(ii)
any payment for a course or courses described in subparagraph (B) of this paragraph that was paid out of the fund,
had not been made or paid.