Reductions to IID in Device-independent Quantum Information Processing