continue refactoring castling, remove redundant check for pawn promotion