An Islamist insurgency that froze TotalEnergies SE's $24.5-billion gas project in Mozambique four years ago is intensifying.