House defeats proposal to restrict NSA phone surveillance