Sync generate_direct_checks() with generate_piece_moves()