Court frees ex-Burundi president