Gunmen have released 11 passengers who were abducted during a train attack in northern Nigeria at the end of March, a government minister said, though dozens of others are thought.