Alex Neil, who served as health secretary under Alex Salmond, condemned those who targeted the first minister as he attended the former leader's memorial.