House Votes to Limit N.S.A.’s Collection of Phone Data