U.N. peacekeepers have been in Burundi since 2004 , when the government and rebels signed an agreement ending their 12-year civil war .