Metals, dust and the cosmic microwave background: Fragmentation of high-redshift star-forming clouds