Former 19 Kids and Counting star Josh Duggar admitted to cheating on his wife Anna in a statement posted to the Duggar family