Rangers move seven points clear at the top of the Scottish Premiership thanks to a dominant win over Dundee.