John Swinney has been blasted for vowing to prioritise independence from day one of a new SNP government - even if he fails to win a majority.