Entanglement Purification on Separate Atoms in an Error-Detected Pattern