Former CVS executive Helena Foulkes defeated the Rhode Island governor in the Democratic primary after he failed to corral a growing political crisis around a bridge.