One gunman was killed after what the country's president described as a robbery of a cash-laden armoured car gone wrong.