Optimize vec::from_elem with manual inlining

borrowck 1.85x speedup on libstd