US opens formal investigation into civilian deaths in Mosul