Using loop length variants to dissect the folding pathway of a four-helix-bundle protein