A Foreground Removal Strategy for Future [CII] Intensity Mapping Experiments Using Galaxies Selected by Stellar Mass and Redshift