A thrilling Scottish Premiership title race took a controversial twist as Celtic beat Motherwell with a VAR-aided penalty