CLN: Fix unhelpful "length mismatch" error message on set_axis

closes #5269