Make setindex!(ContiguousView) more generic