A surface layer of altered composition can play a key role in nanoscale pattern formation induced by ion bombardment