Tens of thousands have fled Marawi, which is the largely Catholic country's most important Muslim city, since the military says its troops unexpectedly interrupted plans by the fighters to take over Marawi in a spectacular event to show that IS had arrived in the Philippines.