Nigeria releases ex-minister implicated in arms fraud