Clean up en passant handling
Renamed state variable for keeping track of castling rights
Only set EP file when there is a possible capture