House rejects bid to curb spy agency data collection