Freelancers’ confidence is the lowest on record, but they have “kicked into overdrive” to prepare for IR35 and Brexit