Dundee United chalked up their first victory of the season with a thumping 4-0 victory over high-flying St Johnstone.