text: Title: Validation runs during overfit, even when turned off
  Body: ### Bug description
  
  I am attempting to overfit a model for demonstration. I am using the CLI and I am using trainer.overfit_batches=.125 and trainer.limit_val_batches=0. 
  If trainer.limit_val_batches=0 is run without the overfit_batches, the desired effect of turning off the validation dataloader and epoch is achieved.
  
  ### What version are you seeing the problem on?
  
  v2.1
  
  ### How to reproduce the bug
  
  ```python
  python cli.py fit -c config.yaml --trainer.limit_val_batches=0 --trainer.overfit_batches=.125
  ```
  ```
  
  
  ### Error messages and logs
  
  ```
  No error message, undesired behavior
  ```
  
  
  ### Environment
  
  <details>
    <summary>Current environment</summary>
  
  ```
  #- Lightning Component (e.g. Trainer, LightningModule, LightningApp, LightningWork, LightningFlow):
  #- PyTorch Lightning Version (e.g., 1.5.0): 2.1
  #- Lightning App Version (e.g., 0.5.2): N/A
  #- PyTorch Version (e.g., 2.0):2.1
  #- Python version (e.g., 3.9): 3.10
  #- OS (e.g., Linux): Linux
  #- CUDA/cuDNN version: 12.1
  #- GPU models and configuration: A100
  #- How you installed Lightning(`conda`, `pip`, source): PIP
  #- Running environment of LightningApp (e.g. local, cloud): SLURM
  ```
  
  </details>
  
  
  ### More info
  
  _No response_
  
  cc @borda @justusschock @awaelchli