Cyriel Dessers scored the final goal to complete Rangers' comeback from 3-1 down to win 4-3 at Dundee.