Robust preparation of atomic W states without any excitations