A US airstrike killed Islamic State's deputy minister of war and military commander of Mosul, the Pentagon confirmed.