Principal Floquet subspaces and exponential separations of type II with applications to random delay differential equations