African state shuts border with neighbor for backing rebels