Bending tubes using mandrels or the like