US formally investigating deadly Mosul airstrike