importepd: even more sanity checking for the FEN string