FIX KFold should return the same result when indices=True and when indices=False.

TST Added a new test case test_cross_val_generator_mask_indices_same.

PEP8 Use 2 lines between functions.

ENH Move allocation of ind outside the for-loop.