Ameliorating systematic uncertainties in the angular clustering of galaxies: a study using the SDSS-III