Scottish first minister links peacekeeping role to acceptable settlement and wider Nato stability concerns