Homotopy 4-spheres and generalized square knots