Free Final Time Hamiltonian Vanishing Condition