Mourners lined the streets from Hyannis Port, Mass., to Boston, where the procession for Edward M. Kennedy concluded its journey.