In an effort to prevent a repeat of the city’s July Fourth traffic meltdown, city transportation officials have expanded public transit service, restricted autonomous vehicle operations and discouraged spectators from driving to Fleet Week this weekend.