Ninja rebels end armed struggle