Troops violated powers under AFSPA in July 18 Shopian operation: Army