Convert all uses of vec::slice to vec::view with fixes for Windows Issue #3869

review? @nikomatsakis
Issue #3869