Non-Markovian dynamics of a qubit coupled to an Ising spin bath