The SNP can ‘double jobbing’ rules to allow Stephen Flynn to be both an MP and an MSP if it wishes, John Swinney has said.