It came as the First Minister backed an increase in defence spending announced by Sir Keir Starmer