Thais move toward lifting martial law