Stitch Fix, which sells clothing online and acts as a personal styling service, is axing 1,400 jobs in California as it moves to hire staff outside the state.