History is made in the Scottish League Cup after Dundee United beat Arbroath on group-stage penalties.