improve MIG reset synchronization, swap position of AsyncRst and Inv