The surge in violence followed a battle on Tuesday in an apartment building in Dagestan , a third region in the Caucasus , and underscored the lingering instability across Russia 's southwestern territory .