Small tweak in is_pseudo_legal()