Syria’s army declared on Monday it is in complete control of Damascus and its outskirts after a devastating battle that forced Islamic State militants to flee their last pocket of resistance in the capital.