A biofuels company set up in Brazil by oil giant Shell has signed a landmark agreement giving up plans to buy sugar cane grown on indigenous lands.