Scientists have uncovered the mechanism behind how aspirin could reduce the metastasis of some cancers by stimulating the immune system.