Use move assignment in movegen.h