Brazilian indigenous affairs chief resigns following Indian killing