Terrified residents were fleeing the Iraqi town of Hit as security forces closed in Tuesday and jihadist fighters hunkered down to defend one of their main bastions in Anbar province.