pan/mdg: Use type to determine triviality of a move