Cards lose a heartbreaker to Nationals in extra innings