Given an m x n `board` of 'X' and 'O' single-character strings, capture all regions of 'O' that are completely surrounded by 'X' by flipping them to 'X'. An 'O' connected to the border (directly or through other 'O's) is not captured. Return the modified board.