Dundee United are six points clear of seventh-placed St Mirren with two games to go until the second phase of the campaign.