Militants put up last stand in Marawi