Sum rules for B (M1, 01+ → 1+) strength in IBM-3 and IBM-4