Refactor potential king move generation