Brazil’s government said on Wednesday it had congratulated Senator Jeanine Anez for “constitutionally” taking over the presidency of neighbouring Bolivia.