Ross Graham’s header with 15 minutes remaining saw Dundee United all-but mathematically secure their place in the William Hill Scottish Premiership’s top six.