Modified quasilinearization algorithm for optimal control problems with nondifferential constraints