A gradient-type algorithm with backward inertial steps associated to a nonconvex minimization problem