John Swinney rejected SNP ally Ian Blackford's call for opposition to nuclear weapons to be dropped.