Distrustful U.S. allies force spy agency to back down in encryption fight