House leaders near deal to renew federal surveillance powers