Selection for uniformity: xenophobia and invasion success