Nigeria has ordered an independent investigation into a military airstrike on a market that killed at least 200 people.