John Swinney has pledged people who spread misinformation leading to a block of flats being set on fire can expect action