Nigeria reinstates more than 3,000 soldiers