Amid controversy, Army chief prays at Vaishno Devi