NSA stops controversial program that searches Americans' emails