The killing of President Bashar al-Assad’s key security aides in a brazen bombing attack, close to Mr. Assad’s own residence, called into question the ability of a government that depends on an insular group of loyalists to function effectively as it battles a strengthening opposition.