Effects of motion history on leading edge separation for an airfoil pitching to large angles of attack