Dundee moved off the bottom thanks to a fine rearguard, their 10 men, limiting Rangers – who missed the chance to take top spot – to hopeful crosses and very little else