Brazil and the Netherlands withdrew their ambassadors to Indonesia after a Brazilian and a Dutch citizen convicted of drug offenses were executed.