Dundee United are through to the semi-finals of the Scottish Cup after thrashing Inverness Caledonian Thistle 5-0.