Greetings,
This behavior/errors is all related to the memory controller in the CPU. If you have upgraded the BIOS recently, that's it.
If you haven't updated the BIOS, is your memory on the QVL for your board? The 4790k is happiest with 1333/1600Mhz ram. 1866 Mhz memory is temperamental and typically requires OC to run stable. The failure you receive at each cold restart is the CPU failing to initialize. Pulling one DIMM is masking something.
Places I'd look:
Replace your MB battery
XMP settings in BIOS
Consider manually settings memory timings and voltages in MIT (BIOS)
If the systems runs correctly/continuously after booting into windows, installed amount of memory reported correctly, no crashes or BSOD, you don't need to test the RAM for errors.
Last...
Check CPU socket for bent pins
Often, in these cases using manual settings, or slower RAM 1600Mhz usually helps.