A 100,000-strong alliance of Iraqi forces, with air and ground support from a U.S.-led coalition, have nearly surrounded Mosul but so far only breached the jihadists’ defenses from the eastern side, establishing a small foothold inside the city.