rename std::vec -> std::slice

Closes #12702