clear interrupt flag when handling interrupts

this avoids having to necessarily call ENI or DEI as the first instruction ever to avoid a CPU halt.