US Says Will Let Apple Keep Software to Help FBI Hack iPhone