Microsoft Reshapes Security Unit, Lays Off Hundreds in AI Pivot