Tesla issues a safety recall of more than 817,000 vehicles