Rangers are just one point behind in the Premiership title race after a dramatic fightback against a rejuvenated Aberdeen.