For future reference, I've had very good luck using a hand held impact driver with the correct hex bit, while the fork is still fully assembled, as the combination of the installed (and slightly compressed) spring, and the strike of the impact driver, typically loosens those fasteners without any issue. Then, remove the top cap, drain the fluid, remove the spring, and proceed with dismantling the rest of the fork.