When using the view_layers parameter in the create_view() function, the resulting view layer has missing sublayers or contains duplicates in ArcGIS Online Map Viewer or in the REST endpoint.
Working through this procedure with the latest development code as well as with the ArcGIS API for Python 2.2.0.2 release, the views appear to have been created correctly with the correct number of layers visible in the Map Viewer as well as at the REST endpoint.