120 inmates freed in Nigeria attacks, 25 die