Solution of an Ising model with two- and four-spin interactions☆