Judge rules against admitting accused's statement into evidence